#include "simple_kafka.h"
#include "data_report.h"
#ifdef USE_RDKAFKA
#include "rdkafka.h"
#endif

int data_report(char *borkers, char *topic, char *msg, int msg_len){
    #ifdef USE_RDKAFKA
    return kafka_send(borkers, topic, msg, msg_len);
    #else
    return skafak_send(borkers, topic, msg, msg_len);
    #endif
}